package org.fixies.spreadsheet;

/**
 * // TODO change this
 * User: Tsuyoshi
 * Date: 2010/11/07
 * Time: 12:03:56
 */
public class SpreadSheetException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    
    public SpreadSheetException(String msg, String bookName, String sheetName, String section, String unit) {
        this(String.format("%s book=[%s] sheet=[%s] section=[%s] unit=[%s]",
                msg, bookName, sheetName, section, unit));
    }
    public SpreadSheetException(String s) {
        super(s);
    }

    public SpreadSheetException(String s, Throwable throwable) {
        super(s, throwable);
    }
}
